<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Aria: ArLogFileConnection Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aria
   &#160;<span id="projectnumber">2.9.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classArLogFileConnection.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classArLogFileConnection-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ArLogFileConnection Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>For connecting through a specially formatted log file.  
 <a href="classArLogFileConnection.html#details">More...</a></p>

<p><code>#include &lt;ArLogFileConnection.h&gt;</code></p>

<p>Inherits <a class="el" href="classArDeviceConnection.html">ArDeviceConnection</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a3f9f03f5608a2b7254836645ac6848bd"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArLogFileConnection.html#a3f9f03f5608a2b7254836645ac6848bd">Open</a> { <a class="el" href="classArLogFileConnection.html#a3f9f03f5608a2b7254836645ac6848bda4481537d5595c470ce7d50bf9f9b48b7">OPEN_FILE_NOT_FOUND</a> = 1, 
<a class="el" href="classArLogFileConnection.html#a3f9f03f5608a2b7254836645ac6848bda27cb9ee9c3c3d31f1dc535efe95c8c79">OPEN_NOT_A_LOG_FILE</a>
 }</td></tr>
<tr class="separator:a3f9f03f5608a2b7254836645ac6848bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classArDeviceConnection"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classArDeviceConnection')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classArDeviceConnection.html">ArDeviceConnection</a></td></tr>
<tr class="memitem:a347c85b1f6dad521cabfbca6833712ab inherit pub_types_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#a347c85b1f6dad521cabfbca6833712ab">Status</a> { <br />
&#160;&#160;<a class="el" href="classArDeviceConnection.html#a347c85b1f6dad521cabfbca6833712aba2a32337db15deac68c28c6c6073614f8">STATUS_NEVER_OPENED</a> = 1, 
<a class="el" href="classArDeviceConnection.html#a347c85b1f6dad521cabfbca6833712abaab61fc67dfa26013b7940bbac62449da">STATUS_OPEN</a>, 
<a class="el" href="classArDeviceConnection.html#a347c85b1f6dad521cabfbca6833712aba57899a6a6454d556eb07b44d26d09ab2">STATUS_OPEN_FAILED</a>, 
<a class="el" href="classArDeviceConnection.html#a347c85b1f6dad521cabfbca6833712abad66561776078f16b133e18a67a31a6b2">STATUS_CLOSED_NORMALLY</a>, 
<br />
&#160;&#160;<a class="el" href="classArDeviceConnection.html#a347c85b1f6dad521cabfbca6833712aba3d77512ad91a4c2ff4c57ead86546aaf">STATUS_CLOSED_ERROR</a>
<br />
 }</td></tr>
<tr class="separator:a347c85b1f6dad521cabfbca6833712ab inherit pub_types_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5790036cd172e4ecd2a3c0be99df5360"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5790036cd172e4ecd2a3c0be99df5360"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArLogFileConnection.html#a5790036cd172e4ecd2a3c0be99df5360">ArLogFileConnection</a> ()</td></tr>
<tr class="memdesc:a5790036cd172e4ecd2a3c0be99df5360"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a5790036cd172e4ecd2a3c0be99df5360"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad636d7ab26c2a3a872f4558103d8cec2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad636d7ab26c2a3a872f4558103d8cec2"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>close</b> (void)</td></tr>
<tr class="separator:ad636d7ab26c2a3a872f4558103d8cec2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac24272ef8fd203c72de78ddffd20a8c0"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArLogFileConnection.html#ac24272ef8fd203c72de78ddffd20a8c0">getLogFile</a> (void)</td></tr>
<tr class="memdesc:ac24272ef8fd203c72de78ddffd20a8c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the name of the host connected to.  <a href="#ac24272ef8fd203c72de78ddffd20a8c0">More...</a><br /></td></tr>
<tr class="separator:ac24272ef8fd203c72de78ddffd20a8c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21c0e789f137062f0feb9d211a7afa9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac21c0e789f137062f0feb9d211a7afa9"></a>
virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><b>getOpenMessage</b> (int messageNumber)</td></tr>
<tr class="separator:ac21c0e789f137062f0feb9d211a7afa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa454e5dde7a07859c148e5e3ed4af9c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa454e5dde7a07859c148e5e3ed4af9c3"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>getStatus</b> (void)</td></tr>
<tr class="separator:aa454e5dde7a07859c148e5e3ed4af9c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86d2f9d8f98236cded715a75e68a812e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86d2f9d8f98236cded715a75e68a812e"></a>
virtual <a class="el" href="classArTime.html">ArTime</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getTimeRead</b> (int index)</td></tr>
<tr class="separator:a86d2f9d8f98236cded715a75e68a812e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7aa3b8d6b1ea94bb027b0e2ee31ba9a9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7aa3b8d6b1ea94bb027b0e2ee31ba9a9"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArLogFileConnection.html#a7aa3b8d6b1ea94bb027b0e2ee31ba9a9">internalOpen</a> (void)</td></tr>
<tr class="memdesc:a7aa3b8d6b1ea94bb027b0e2ee31ba9a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal function used by open and openSimple. <br /></td></tr>
<tr class="separator:a7aa3b8d6b1ea94bb027b0e2ee31ba9a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acde0f6233fec8aacc4871b5e72fd69e0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acde0f6233fec8aacc4871b5e72fd69e0"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>isTimeStamping</b> (void)</td></tr>
<tr class="separator:acde0f6233fec8aacc4871b5e72fd69e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acff846381d1deb64052994aa23686254"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArLogFileConnection.html#acff846381d1deb64052994aa23686254">open</a> (const char *fname=NULL)</td></tr>
<tr class="memdesc:acff846381d1deb64052994aa23686254"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens a connection to the given host and port.  <a href="#acff846381d1deb64052994aa23686254">More...</a><br /></td></tr>
<tr class="separator:acff846381d1deb64052994aa23686254"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34e1824fc35f65de7764df2fb641d799"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34e1824fc35f65de7764df2fb641d799"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>openSimple</b> (void)</td></tr>
<tr class="separator:a34e1824fc35f65de7764df2fb641d799"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44d9e8415e8c4ca867e215473b7ed7f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44d9e8415e8c4ca867e215473b7ed7f6"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>read</b> (const char *data, unsigned int size, unsigned int msWait=0)</td></tr>
<tr class="separator:a44d9e8415e8c4ca867e215473b7ed7f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef235f9f95664f7e332f4838c45711be"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef235f9f95664f7e332f4838c45711be"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setLogFile</b> (const char *fname=NULL)</td></tr>
<tr class="separator:aef235f9f95664f7e332f4838c45711be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2045abc477132215adfb61fb677da0df"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2045abc477132215adfb61fb677da0df"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>write</b> (const char *data, unsigned int size)</td></tr>
<tr class="separator:a2045abc477132215adfb61fb677da0df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a085a3eb86853a6dd114660ee8bfc2c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a085a3eb86853a6dd114660ee8bfc2c"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArLogFileConnection.html#a6a085a3eb86853a6dd114660ee8bfc2c">~ArLogFileConnection</a> ()</td></tr>
<tr class="memdesc:a6a085a3eb86853a6dd114660ee8bfc2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor also closes connection. <br /></td></tr>
<tr class="separator:a6a085a3eb86853a6dd114660ee8bfc2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classArDeviceConnection"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classArDeviceConnection')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classArDeviceConnection.html">ArDeviceConnection</a></td></tr>
<tr class="memitem:a17585f2fab7b9fb61d2308400f909c30 inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#a17585f2fab7b9fb61d2308400f909c30">ArDeviceConnection</a> ()</td></tr>
<tr class="memdesc:a17585f2fab7b9fb61d2308400f909c30 inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor  <a href="#a17585f2fab7b9fb61d2308400f909c30">More...</a><br /></td></tr>
<tr class="separator:a17585f2fab7b9fb61d2308400f909c30 inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1be3e25473f65f096b303b600248622 inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1be3e25473f65f096b303b600248622"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#ac1be3e25473f65f096b303b600248622">debugBytesRead</a> (int bytesRead)</td></tr>
<tr class="memdesc:ac1be3e25473f65f096b303b600248622 inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notifies the device connection that some bytes were read (should call with 0 if it read but got no bytes) <br /></td></tr>
<tr class="separator:ac1be3e25473f65f096b303b600248622 inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac2e625974ec5c4e2b117a42b344b0d6 inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac2e625974ec5c4e2b117a42b344b0d6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#aac2e625974ec5c4e2b117a42b344b0d6">debugEndPacket</a> (bool goodPacket, int type=0)</td></tr>
<tr class="memdesc:aac2e625974ec5c4e2b117a42b344b0d6 inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notifies the device connection that the end of a packet was read, which will cause log messages if set to do so. <br /></td></tr>
<tr class="separator:aac2e625974ec5c4e2b117a42b344b0d6 inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35b08f34c720cde344ec8179ec162397 inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35b08f34c720cde344ec8179ec162397"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#a35b08f34c720cde344ec8179ec162397">debugStartPacket</a> (void)</td></tr>
<tr class="memdesc:a35b08f34c720cde344ec8179ec162397 inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notifies the device connection that the start of a packet is trying to be read. <br /></td></tr>
<tr class="separator:a35b08f34c720cde344ec8179ec162397 inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad734f6fdd5d4ad8ae2d3f66a64ea3689 inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad734f6fdd5d4ad8ae2d3f66a64ea3689"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#ad734f6fdd5d4ad8ae2d3f66a64ea3689">getDeviceName</a> (void) const </td></tr>
<tr class="memdesc:ad734f6fdd5d4ad8ae2d3f66a64ea3689 inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the device type (what this is connecting to) <br /></td></tr>
<tr class="separator:ad734f6fdd5d4ad8ae2d3f66a64ea3689 inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e3294feb37c8c20020bf81f44826dd3 inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e3294feb37c8c20020bf81f44826dd3"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#a2e3294feb37c8c20020bf81f44826dd3">getPortName</a> (void) const </td></tr>
<tr class="memdesc:a2e3294feb37c8c20020bf81f44826dd3 inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the port name. <br /></td></tr>
<tr class="separator:a2e3294feb37c8c20020bf81f44826dd3 inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2068c040aa79530914cc1402328a937 inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2068c040aa79530914cc1402328a937"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#aa2068c040aa79530914cc1402328a937">getPortType</a> (void) const </td></tr>
<tr class="memdesc:aa2068c040aa79530914cc1402328a937 inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the port type. <br /></td></tr>
<tr class="separator:aa2068c040aa79530914cc1402328a937 inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0570caa674aceb844a25f29760a7315 inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#ac0570caa674aceb844a25f29760a7315">getStatusMessage</a> (int messageNumber) const </td></tr>
<tr class="memdesc:ac0570caa674aceb844a25f29760a7315 inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the description string associated with the status.  <a href="#ac0570caa674aceb844a25f29760a7315">More...</a><br /></td></tr>
<tr class="separator:ac0570caa674aceb844a25f29760a7315 inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad513aff91486cb69d9fc8a88a04ad1e9 inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad513aff91486cb69d9fc8a88a04ad1e9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#ad513aff91486cb69d9fc8a88a04ad1e9">setDeviceName</a> (const char *deviceName)</td></tr>
<tr class="memdesc:ad513aff91486cb69d9fc8a88a04ad1e9 inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the device type (what this is connecting to) <br /></td></tr>
<tr class="separator:ad513aff91486cb69d9fc8a88a04ad1e9 inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a3dd1cd4140ac04b4229dde26edf9de inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#a5a3dd1cd4140ac04b4229dde26edf9de">writePacket</a> (<a class="el" href="classArBasePacket.html">ArBasePacket</a> *packet)</td></tr>
<tr class="memdesc:a5a3dd1cd4140ac04b4229dde26edf9de inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes data to connection.  <a href="#a5a3dd1cd4140ac04b4229dde26edf9de">More...</a><br /></td></tr>
<tr class="separator:a5a3dd1cd4140ac04b4229dde26edf9de inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a620e4464627f5f898d212eb11661f150 inherit pub_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a620e4464627f5f898d212eb11661f150"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#a620e4464627f5f898d212eb11661f150">~ArDeviceConnection</a> ()</td></tr>
<tr class="memdesc:a620e4464627f5f898d212eb11661f150 inherit pub_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor also forces a close on the connection <br /></td></tr>
<tr class="separator:a620e4464627f5f898d212eb11661f150 inherit pub_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a62cca01daefb04b9052d090837ef2236"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62cca01daefb04b9052d090837ef2236"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>havePose</b></td></tr>
<tr class="separator:a62cca01daefb04b9052d090837ef2236"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab059121faac882548a228d5019a9f8a6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab059121faac882548a228d5019a9f8a6"></a>
char&#160;</td><td class="memItemRight" valign="bottom"><b>myName</b> [100]</td></tr>
<tr class="separator:ab059121faac882548a228d5019a9f8a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af407125d089f4b504d9b577eeb9a4e40"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af407125d089f4b504d9b577eeb9a4e40"></a>
<a class="el" href="classArPose.html">ArPose</a>&#160;</td><td class="memItemRight" valign="bottom"><b>myPose</b></td></tr>
<tr class="separator:af407125d089f4b504d9b577eeb9a4e40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8357bbbf2830c3da79203432a2169925"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8357bbbf2830c3da79203432a2169925"></a>
char&#160;</td><td class="memItemRight" valign="bottom"><b>mySubtype</b> [20]</td></tr>
<tr class="separator:a8357bbbf2830c3da79203432a2169925"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a2759f2d211cdafece287708ee21a6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34a2759f2d211cdafece287708ee21a6"></a>
char&#160;</td><td class="memItemRight" valign="bottom"><b>myType</b> [20]</td></tr>
<tr class="separator:a34a2759f2d211cdafece287708ee21a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ae33b5eaa66604dfd0e1bf7c8368cec9a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae33b5eaa66604dfd0e1bf7c8368cec9a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>buildStrMap</b> (void)</td></tr>
<tr class="separator:ae33b5eaa66604dfd0e1bf7c8368cec9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classArDeviceConnection"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classArDeviceConnection')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classArDeviceConnection.html">ArDeviceConnection</a></td></tr>
<tr class="memitem:a776d6ae9b073c01388089c373b38d2f7 inherit pro_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a776d6ae9b073c01388089c373b38d2f7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>buildStrMap</b> (void)</td></tr>
<tr class="separator:a776d6ae9b073c01388089c373b38d2f7 inherit pro_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7c9793bfdcdaaea2317884b7cc6be0f inherit pro_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7c9793bfdcdaaea2317884b7cc6be0f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#ac7c9793bfdcdaaea2317884b7cc6be0f">setPortName</a> (const char *portName)</td></tr>
<tr class="memdesc:ac7c9793bfdcdaaea2317884b7cc6be0f inherit pro_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the port name. <br /></td></tr>
<tr class="separator:ac7c9793bfdcdaaea2317884b7cc6be0f inherit pro_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e10f03aabb179531d177f1004a88a1e inherit pro_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e10f03aabb179531d177f1004a88a1e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#a7e10f03aabb179531d177f1004a88a1e">setPortType</a> (const char *portType)</td></tr>
<tr class="memdesc:a7e10f03aabb179531d177f1004a88a1e inherit pro_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the port type. <br /></td></tr>
<tr class="separator:a7e10f03aabb179531d177f1004a88a1e inherit pro_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aac094a82b2eee8f8e38e68a8b3ff31bb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac094a82b2eee8f8e38e68a8b3ff31bb"></a>
FILE *&#160;</td><td class="memItemRight" valign="bottom"><b>myFD</b></td></tr>
<tr class="separator:aac094a82b2eee8f8e38e68a8b3ff31bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea18d7c9a219f6750d4f2b71712a91ba"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea18d7c9a219f6750d4f2b71712a91ba"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><b>myLogFile</b></td></tr>
<tr class="separator:aea18d7c9a219f6750d4f2b71712a91ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96562ed12a19fba446a0038b684a43c8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a96562ed12a19fba446a0038b684a43c8"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myStatus</b></td></tr>
<tr class="separator:a96562ed12a19fba446a0038b684a43c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9158e852aef5fcff11e870ea86b9241e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9158e852aef5fcff11e870ea86b9241e"></a>
ArStrMap&#160;</td><td class="memItemRight" valign="bottom"><b>myStrMap</b></td></tr>
<tr class="separator:a9158e852aef5fcff11e870ea86b9241e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23c2568e6eb64d3d1ba4f556ce0bbf90"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23c2568e6eb64d3d1ba4f556ce0bbf90"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>stopAfter</b></td></tr>
<tr class="separator:a23c2568e6eb64d3d1ba4f556ce0bbf90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classArDeviceConnection"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classArDeviceConnection')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classArDeviceConnection.html">ArDeviceConnection</a></td></tr>
<tr class="memitem:af99c6065bd53e0dc98347dc92f906f9d inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af99c6065bd53e0dc98347dc92f906f9d"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myDCDebugBytesRead</b></td></tr>
<tr class="separator:af99c6065bd53e0dc98347dc92f906f9d inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2f6e786c23c028d646d5463463ab97b inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2f6e786c23c028d646d5463463ab97b"></a>
<a class="el" href="classArTime.html">ArTime</a>&#160;</td><td class="memItemRight" valign="bottom"><b>myDCDebugFirstByteTime</b></td></tr>
<tr class="separator:ad2f6e786c23c028d646d5463463ab97b inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a908a3a99408df65d22200bc4dbcd3ee9 inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a908a3a99408df65d22200bc4dbcd3ee9"></a>
<a class="el" href="classArTime.html">ArTime</a>&#160;</td><td class="memItemRight" valign="bottom"><b>myDCDebugLastByteTime</b></td></tr>
<tr class="separator:a908a3a99408df65d22200bc4dbcd3ee9 inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5491accdf349d9e90a1feacb0f8e0be0 inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5491accdf349d9e90a1feacb0f8e0be0"></a>
long long&#160;</td><td class="memItemRight" valign="bottom"><b>myDCDebugNumBadPackets</b></td></tr>
<tr class="separator:a5491accdf349d9e90a1feacb0f8e0be0 inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11ee903b00660b50f45b0b0042814211 inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11ee903b00660b50f45b0b0042814211"></a>
long long&#160;</td><td class="memItemRight" valign="bottom"><b>myDCDebugNumGoodPackets</b></td></tr>
<tr class="separator:a11ee903b00660b50f45b0b0042814211 inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a537ec452899503d15060b7728517690b inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a537ec452899503d15060b7728517690b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>myDCDebugPacketStarted</b></td></tr>
<tr class="separator:a537ec452899503d15060b7728517690b inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2727d941ea446a99d555b0281f903b59 inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2727d941ea446a99d555b0281f903b59"></a>
<a class="el" href="classArTime.html">ArTime</a>&#160;</td><td class="memItemRight" valign="bottom"><b>myDCDebugStartTime</b></td></tr>
<tr class="separator:a2727d941ea446a99d555b0281f903b59 inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada78fa17a93253b773d1bd467d33a1e6 inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada78fa17a93253b773d1bd467d33a1e6"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>myDCDebugTimesRead</b></td></tr>
<tr class="separator:ada78fa17a93253b773d1bd467d33a1e6 inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9db71e9fdb2c834e3d83999bf7d4919a inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9db71e9fdb2c834e3d83999bf7d4919a"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>myDCDeviceName</b></td></tr>
<tr class="separator:a9db71e9fdb2c834e3d83999bf7d4919a inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab81bf283a2eec4beb64d2a428dccab99 inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab81bf283a2eec4beb64d2a428dccab99"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>myDCPortName</b></td></tr>
<tr class="separator:ab81bf283a2eec4beb64d2a428dccab99 inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e69e51c7c82f8a21d3c2cadd499465d inherit pro_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e69e51c7c82f8a21d3c2cadd499465d"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>myDCPortType</b></td></tr>
<tr class="separator:a0e69e51c7c82f8a21d3c2cadd499465d inherit pro_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classArDeviceConnection"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classArDeviceConnection')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classArDeviceConnection.html">ArDeviceConnection</a></td></tr>
<tr class="memitem:a9a74569c1d73e65d215a80dbdc1b3394 inherit pub_static_methods_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a74569c1d73e65d215a80dbdc1b3394"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArDeviceConnection.html#a9a74569c1d73e65d215a80dbdc1b3394">debugShouldLog</a> (bool shouldLog)</td></tr>
<tr class="memdesc:a9a74569c1d73e65d215a80dbdc1b3394 inherit pub_static_methods_classArDeviceConnection"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes all device connections so that they'll dump data. <br /></td></tr>
<tr class="separator:a9a74569c1d73e65d215a80dbdc1b3394 inherit pub_static_methods_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_attribs_classArDeviceConnection"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_classArDeviceConnection')"><img src="closed.png" alt="-"/>&#160;Static Protected Attributes inherited from <a class="el" href="classArDeviceConnection.html">ArDeviceConnection</a></td></tr>
<tr class="memitem:a8295d8f30b513dda5b207a4b5ad11573 inherit pro_static_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8295d8f30b513dda5b207a4b5ad11573"></a>
static <a class="el" href="classArTime.html">ArTime</a>&#160;</td><td class="memItemRight" valign="bottom"><b>ourDCDebugFirstTime</b></td></tr>
<tr class="separator:a8295d8f30b513dda5b207a4b5ad11573 inherit pro_static_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8810181d6514b20111dcf5432cb31573 inherit pro_static_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8810181d6514b20111dcf5432cb31573"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>ourDCDebugShouldLog</b> = false</td></tr>
<tr class="separator:a8810181d6514b20111dcf5432cb31573 inherit pro_static_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad51c11cab5a66044585206d23de5381b inherit pro_static_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad51c11cab5a66044585206d23de5381b"></a>
static ArStrMap&#160;</td><td class="memItemRight" valign="bottom"><b>ourStrMap</b></td></tr>
<tr class="separator:ad51c11cab5a66044585206d23de5381b inherit pro_static_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c543c7225d411a2ee97927f4a0878a8 inherit pro_static_attribs_classArDeviceConnection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9c543c7225d411a2ee97927f4a0878a8"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>ourStrMapInited</b> = false</td></tr>
<tr class="separator:a9c543c7225d411a2ee97927f4a0878a8 inherit pro_static_attribs_classArDeviceConnection"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>For connecting through a specially formatted log file. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000036">Deprecated:</a></b></dt><dd></dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a3f9f03f5608a2b7254836645ac6848bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classArLogFileConnection.html#a3f9f03f5608a2b7254836645ac6848bd">ArLogFileConnection::Open</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a3f9f03f5608a2b7254836645ac6848bda4481537d5595c470ce7d50bf9f9b48b7"></a>OPEN_FILE_NOT_FOUND&#160;</td><td class="fielddoc">
<p>Can't find the file. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a3f9f03f5608a2b7254836645ac6848bda27cb9ee9c3c3d31f1dc535efe95c8c79"></a>OPEN_NOT_A_LOG_FILE&#160;</td><td class="fielddoc">
<p>Doesn't look like a log file. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ac24272ef8fd203c72de78ddffd20a8c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * ArLogFileConnection::getLogFile </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the name of the host connected to. </p>
<dl class="section return"><dt>Returns</dt><dd>the name of the log file </dd></dl>

</div>
</div>
<a class="anchor" id="acff846381d1deb64052994aa23686254"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ArLogFileConnection::open </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fname</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Opens a connection to the given host and port. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fname</td><td>the file to connect to, if NULL (default) then robot.log </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 for success, otherwise one of the open enums </dd></dl>
<dl class="section see"><dt>See also</dt><dd>getOpenMessage </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>ArLogFileConnection.h</li>
<li>ArLogFileConnection.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classArLogFileConnection.html">ArLogFileConnection</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
